import rtyButton from './button/index.js'
import rtyPop from './pop/index.js'

const install = Vue => {
  Vue.component(rtyButton.name, rtyButton)
  Vue.component(rtyPop.name, rtyPop)

  Vue.prototype.$rtyPop = rtyPop.installPop
}

export default install